package bavaria.hightec.comparators;

import java.util.Comparator;

import bavaria.hightec.banking.Accounting;

public class CompDate implements Comparator<Accounting>{

	@Override
	public int compare(Accounting o1, Accounting o2) {
		return o1.getDate().compareTo(o2.getDate());
	}

}
